﻿using System;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SHRIS.MIS.Entity.ScadaData
{
    [Table("tb_line")]
    public class LineEntity : BaseScadaEnetity
    {
        /// <summary>
        /// 记录主键
        /// </summary>
        [Key]
        [Column("LineId")]
        public Guid Id { get; set; }

        /// <summary>
        /// 产线编码
        /// </summary>
        [Required]
        public string LineCode { get; set; }

        /// <summary>
        /// 产线名称
        /// </summary>
        public string LineName { get; set; }

        /// <summary>
        /// 产线地址
        /// </summary>
        public string LineAddress { get; set; }
    }
}
